<!DOCTYPE html>
<html>
  {% include post-head.html %}

  <body>
	<!--[if lt IE 10]>
	<div class="alert-danger" role="alert">你的浏览器实在太太太旧了，放学别走，升级完浏览器再说！<a target="_blank" class="alert-link" href="http://browsehappy.com">立即升级</a></div>
	<![endif]-->
	<input id="nm-switch" type="hidden" value="{{ site.nightMode }}"> {% include header.html %}

	<header
	  class="g-banner post-header {{ site.postPatterns | prepend: 'post-pattern-' }} {{ site.theme-color | prepend: 'bgcolor-' }} {% unless page.cover %}post-no-cover{% endunless %}"
	  data-theme="{{ site.theme-color }}"
	>
	  <div class="post-wrapper">
		<div class="post-tags">
		  
		</div>
		<h1>{{ page.title }}</h1>
		<div class="post-meta">
		  <span class="post-meta-item"><i class="iconfont icon-author"></i>{% if page.author %}{{ page.author }}{% else %}{{ site.author }}{% endif %}</span>
		</div>
	  </div>
	  {% if page.cover %}
	  <div class="filter"></div>
      <div class="post-cover" style="background: url('{{ page.cover }}') center no-repeat; background-size: cover;"></div>
	  {% endif %}
	</header>

	<div class="post-content visible">
	  {% if page.subtitle %}
	  <h2 class="post-subtitle">{{ page.subtitle }}</h2>
	  {% endif %}

	  <article class="markdown-body">
		{{ content }}
	  </article>
	  
	</div>

	<section class="author-detail">
	  <section class="post-footer-item author-card">
		<div class="avatar">
		  <img src="{{ site.avatar | relative_url }}" alt="">
		</div>
		<div class="author-name" rel="author">{{ site.author }}</div>
		<div class="bio">
		  <p>{{ site.bio }}</p>
		</div>
		{% if site.sns.size > 0 %}
		<ul class="sns-links">
		  {% for s in site.sns %}
		  <li>
			<a href="{{ s[1] }}" target="_blank">
			  <i class="iconfont icon-{{ s[0] }}"></i>
			</a>
		  </li>
		  {% endfor %}
		</ul>
		{% endif %}
	  </section>

	{% include footer.html %}

	<script src="{{ "/assets/js/social-share.min.js" | relative_url }}"></script>

	{% if site.comments.disqus %}
	{% endif %}

	<script src="{{ "/assets/js/prism.js" | relative_url }}"></script>
	<script src="{{ "/assets/js/index.min.js" | relative_url }}"></script>
  </body>

</html>
